package com.twoGroup.boot.pojo;

public class Order {
    private Integer orderId;
    private Integer shopId;
    private Integer goodsId;
    private Integer buyerId;
    private Integer sellerId;
    private String buyTime;
    private float allPrice;
    private Integer goodsCount;
    private String orderNo;
    private Integer applyFlag;
    private Integer addressId;

    public Order() {
    }

    public Order(Integer orderId, Integer shopId, Integer goodsId, Integer buyerId, Integer sellerId, String buyTime, float allPrice, Integer goodsCount, String orderNo, Integer applyFlag, Integer addressId) {
        this.orderId = orderId;
        this.shopId = shopId;
        this.goodsId = goodsId;
        this.buyerId = buyerId;
        this.sellerId = sellerId;
        this.buyTime = buyTime;
        this.allPrice = allPrice;
        this.goodsCount = goodsCount;
        this.orderNo = orderNo;
        this.applyFlag = applyFlag;
        this.addressId = addressId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public Integer getApplyFlag() {
        return applyFlag;
    }

    public void setApplyFlag(Integer applyFlag) {
        this.applyFlag = applyFlag;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Integer buyerId) {
        this.buyerId = buyerId;
    }

    public Integer getSellerId() {
        return sellerId;
    }

    public void setSellerId(Integer sellerId) {
        this.sellerId = sellerId;
    }

    public String getBuyTime() {
        return buyTime;
    }

    public void setBuyTime(String buyTime) {
        this.buyTime = buyTime;
    }

    public float getAllPrice() {
        return allPrice;
    }

    public void setAllPrice(float allPrice) {
        this.allPrice = allPrice;
    }

    public Integer getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(Integer goodsCount) {
        this.goodsCount = goodsCount;
    }

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderId=" + orderId +
                ", shopId=" + shopId +
                ", goodsId=" + goodsId +
                ", buyerId=" + buyerId +
                ", sellerId=" + sellerId +
                ", buyTime='" + buyTime + '\'' +
                ", allPrice=" + allPrice +
                ", goodsCount=" + goodsCount +
                ", orderNo='" + orderNo + '\'' +
                ", applyFlag=" + applyFlag +
                ", addressId=" + addressId +
                '}';
    }
}
